package cn.cool.service;

import cn.cool.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuH
 * @since 2021-01-23
 */
public interface ArticleService extends IService<Article> {

    Object addArticle(HttpServletRequest request, Article article);

    Object getArticleInfo(HttpServletRequest request,Integer artId);

}
